<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
  <link rel="stylesheet" type="text/css" href="../css/register.css">
  <title>注册</title>
</head>

<body>
  <div id="registerBox">
    <h2>注 &ensp;册</h2>

    <div class="inputBox">
      <div>
        <label>用 户 名 &nbsp;: &ensp;
          <input class="input" type="text" placeholder="请输入用户名" v-model="info.username" />
        </label>
      </div>
      <div>
        <label>密&emsp;&emsp;码 : &ensp;
          <input class="input" type="text" placeholder="请输入密码" v-model="info.firstPwd" />
        </label>
      </div>
      <div>
        <label>确认密码 : &nbsp;
          <input class="input" type="text" placeholder="请确认密码" v-model="info.secondPwd" />
        </label>
      </div>

      <input type="button" class="cancelButton" value="取  消" @click="cancelReg" />
      <label><span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</span></label>
      <input type="button" class="inputButton" value="注  册" @click="register" />
    </div>
    <h6>
      <a id="toRegister" href="../index.html">返回登录</a>
    </h6>
  </div>
  <!-- 开发环境版本，包含了有帮助的命令行警告 -->
  <script src="../js/vue.js"></script>
  <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  <script src="https://unpkg.com/element-ui/lib/index.js"></script>
  <script src="../js/register.js"></script>
</body>

</html>